//
//  ITUserInfo.h
//  GLPFinance
//
//  Created by ITBE on 2016/11/23.
//  Copyright © 2016年 intube. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ITAccount.h"
#import "ITBindAccount.h"

typedef enum {
    SexSecret=0,
    SexFemale = 1,
    SexMale = 2,
    SexNonBinary = 3,
} SexType;

@interface ITMember : BaseModel

IT_PROPERTY_STRONG NSString *memberId;
IT_PROPERTY_STRONG NSString *name;
IT_PROPERTY_STRONG NSString *portrait;

IT_PROPERTY_ASSIGN NSInteger followType; //关注状态  0:未关注 1已关注 2互关 3被关注

IT_PROPERTY_ASSIGN SexType gender;
IT_PROPERTY_ASSIGN int age;
IT_PROPERTY_ASSIGN int height;//身高（cm）
IT_PROPERTY_ASSIGN int weight;//体重（Kg）

IT_PROPERTY_STRONG NSString *signature;
IT_PROPERTY_COPY   NSString *profile;

IT_PROPERTY_ASSIGN NSTimeInterval updateTime;

IT_PROPERTY_ASSIGN long liked;
IT_PROPERTY_ASSIGN long follow;
IT_PROPERTY_ASSIGN long fans;

IT_PROPERTY_ASSIGN BOOL isFollowed;


IT_PROPERTY_ASSIGN long approved;
IT_PROPERTY_ASSIGN long processing;
IT_PROPERTY_ASSIGN long failed;
IT_PROPERTY_ASSIGN long joined;


IT_PROPERTY_STRONG NSString *systemChatId;// 系统消息会话ID, 当前用户可见
IT_PROPERTY_STRONG NSString *chatId;// 当前用户与该用户的私聊会话ID 未创建为空


-(NSString *)sexDescription;
-(NSString *)sexDescription:(SexType)gender;

@end
